package pro.seac.twitter.application.dto;

import java.io.Serializable;
import java.util.Date;

public class MessageData implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Date created;
	private UserViewEntry sender;
	private String content;

	public MessageData(Integer id, Date created, UserViewEntry sender, String content) {
		super();
		this.id = id;
		this.created = created;
		this.sender = sender;
		this.content = content;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public UserViewEntry getSender() {
		return sender;
	}

	public void setSender(UserViewEntry sender) {
		this.sender = sender;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
